package Service.Impl;

import Dao.Impl.NoticeDaoImpl;
import Dao.NoticeDao;
import Domain.Notice;
import Service.NoticeService;

import java.util.Date;
import java.util.List;

public class NoticeServiceImpl implements NoticeService {
    private NoticeDao dao = new NoticeDaoImpl();
    @Override
    public List<Notice> FindAllNotice() {
        return dao.FindAllNotice();
    }

    @Override
    public List<Notice> FindNoticeById(int id) {
        return dao.FindNoticeById(id);
    }
}
